package top.zackyoung.bbs.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * forum
 * @author 
 */
@Data
public class Forum implements Serializable {
    /**
     * 论坛编号
     */
    private Integer id;
    // 总条数
    private int countNum;

    /**
     * 发表用户id
     */
    private Integer userId;
    private String nikename;
    private String username;
    private String avatarName;
    private List<String> imgUrl;
    /**
     * 内容
     */
    private String content;

    /**
     * 重写后的内容
     */
    private String reWriteContent;
    /**
     * 评论数
     */
    private Integer commentNum;
    private Date lastCommentTime;

    /**
     * 浏览数
     */
    private Integer viewNum;

    /**
     * 标签id
     */
    private Integer tagId;
    private String tagName;

    /**
     * 标题
     */
    private String title;

    private Date createTime;

    private static final long serialVersionUID = 1L;
}